package com.ruoyi.develop.payApplyBuy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 付款申请和采购关系对象 pay_apply_buy
 *
 * @author lmm
 * @date 2024-10-30
 */
public class PayApplyBuy extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 采购单记录id */
    @Excel(name = "采购单记录id")
    private String buyId;

    /** 付款申请id */
    @Excel(name = "付款申请id")
    private String applyId;

    /** 付款申请类型 */
    private String applyType;

    /** 订单申请金额 */
    private BigDecimal applyMoney;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private BigDecimal kpMoney;

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public BigDecimal getApplyMoney() {
        return applyMoney;
    }

    public void setApplyMoney(BigDecimal applyMoney) {
        this.applyMoney = applyMoney;
    }

    public BigDecimal getKpMoney() {
        return kpMoney;
    }

    public void setKpMoney(BigDecimal kpMoney) {
        this.kpMoney = kpMoney;
    }

    private BigDecimal shengyukp;

    public BigDecimal getShengyukp() {
        return shengyukp;
    }

    public void setShengyukp(BigDecimal shengyukp) {
        this.shengyukp = shengyukp;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setBuyId(String buyId)
            {
            this.buyId = buyId;
            }

    public String getBuyId()
            {
            return buyId;
            }
    public void setApplyId(String applyId)
            {
            this.applyId = applyId;
            }

    public String getApplyId()
            {
            return applyId;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("buyId",getBuyId())
            .append("applyId",getApplyId())
            .append("remark",getRemark())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
        .toString();
    }
}
